<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="html-el" uri="http://struts.apache.org/tags-html-el" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="../../../js/jquery.js"></script>
<script type="text/javascript" src="../../../js/jquery-ui-personalized.min.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../js/lowElectricity.js"></script>
<link type="text/css" href="../../../style/theme/ui.all.css" rel="stylesheet" />
<link type="text/css" href="../style/style.css" rel="stylesheet"/>
<title>增加低电警告</title>
</head>
<body>
	<h1>为${dormSupervisor.building.name }增加低电警告</h1>
	<html-el:errors/>
	<form action="addLowElectricity.do" method="post" name="lowElectricityDTO">
		<input type="hidden" name="buildingId" value="${dormSupervisor.building.id }"/>
		<div>
			<div><label for="dormitory">寝室：</label></div>
			<input type="text" id="dormitory" name="dormitory" value="${lowElectricityDTO.dormitory }"/>*
			<span class="warning"></span>
		</div>
		<div>
			<div><label for="degree">剩余度数：</label></div>
			<input type="text" id="degree" name="degree" value="${lowElectricityDTO.degree }"/>*
		</div>
		<div>
			<div><label for="date">发布时间：</label></div>
			<input type="text" id="data" class="datepicker" name="date" value="${lowElectricityDTO.date }"/>*
		</div>
		<input type="submit" value="提交" name="submit"/>
	</form>
</body>
</html>